/*
 * Part of knowledge engineering (ke) course work, 2010/11
 */
package se.bth.ke.firstfriend.dto;

import java.util.List;
import se.bth.ke.firstfriend.model.Article;
import se.bth.ke.firstfriend.model.Topic;

/**
 *
 * @author nico.rehwaldt
 */
public class ArticlesByTopic {
    
    private Topic topic;
    private List<Article> articles;

    public ArticlesByTopic(Topic topic, List<Article> articles) {
        this.topic = topic;
        this.articles = articles;
    }

    /**
     * @return the topic
     */
    public Topic getTopic() {
        return topic;
    }

    /**
     * @return the articles
     */
    public List<Article> getArticles() {
        return articles;
    }
}
